/*
 *  Ch.h
 *  osnutshell
 *
 *  Created by Zachary  Heylmun on 4/17/10.
 *  Copyright 2010 University of Florida. All rights reserved.
 *
 */

#ifndef CD_H
#define CD_H

#include <algorithm>
#include <cstdlib>
#include <iostream>
#include <pwd.h>
#include <string>
#include <sys/types.h>
#include <vector>
#include "unistd.h"

#include "BuiltIn.h"

namespace nutshell 
{
	class Cd : public BuiltIn
	{
	public:
		Cd();
		virtual void do_command(int, char**);
		std::string tilde_expansion(std::string);
	private:
		std::string current_dir;
	};	
}

#endif
